<?xml version="1.0" encoding="utf-8" ?>
<DbDataRequest connection="$MediaCacheDBConnection$" type="$MediaCacheDbType$">
  <SqlStatement>
    UPDATE CompanyMediaLibraries SET
    isDefault = 0
    WHERE
    companyId = @companyId AND
    id &lt;&gt; @id;
    UPDATE CompanyMediaLibraries SET
    isDefault = 1
    WHERE
    companyId = @companyId AND
    id = @id;
  </SqlStatement>
  <Param name="id" type="nvarchar"/>
  <Param name="companyId" type="nvarchar" />
</DbDataRequest>
